import request from "@/utils/request";
import type {AjaxResult} from "@/utils/request"
const base = '/base/problemType'
/**
 * 获取题库
 * @returns Promise
 */
export const getProblemTypeList = () : Promise<AjaxResult> => {
    return request({
        url: `${base}/list`,
        method: 'get'
    })
}
